import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useBreadcrumbStore = defineStore('breadcrumb', () => {
  const breadcrumb = ref([]);
  function setBreadcrumb(newPath) {
    breadcrumb.value = newPath;
  };
  return { breadcrumb, setBreadcrumb };
});
